package com.sanqi.work.mapper;

import java.util.List;
import com.sanqi.work.domain.WorkTeam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 班组Mapper接口
 * 
 * @author duany
 * @date 2025-09-24
 */
public interface WorkTeamMapper extends BaseMapper<WorkTeam>
{
    /**
     * 查询班组
     * 
     * @param id 班组主键
     * @return 班组
     */
    public WorkTeam selectWorkTeamById(String id);

    /**
     * 查询班组列表
     * 
     * @param workTeam 班组
     * @return 班组集合
     */
    public List<WorkTeam> selectWorkTeamList(WorkTeam workTeam);

    /**
     * 新增班组
     * 
     * @param workTeam 班组
     * @return 结果
     */
    public int insertWorkTeam(WorkTeam workTeam);

    /**
     * 修改班组
     * 
     * @param workTeam 班组
     * @return 结果
     */
    public int updateWorkTeam(WorkTeam workTeam);

    /**
     * 删除班组
     * 
     * @param id 班组主键
     * @return 结果
     */
    public int deleteWorkTeamById(String id);

    /**
     * 批量删除班组
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkTeamByIds(String[] ids);
}
